<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>跳转网站</title>
    </head>
    <body>
        <select id="located" name="" onchange="doaction();">
            <option value="">请选择网站</option>
            <option value="http://www.baidu.com">百度</option>
            <option value="http://www.163.com">网易</option>
            <option value="http://www.taobao.com">淘宝</option>
        </select>
    </body>
        <script type="text/javascript">
            function doaction()
            {
                var loc = document.getElementById('located').value;
                location.href = loc;
            }
        </script>
</html>
